package com.stylefeng.guns.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-03-10
 */
@TableName("t_order_fee_log")
public class TOrderFeeLog extends Model<TOrderFeeLog> {

    private static final long serialVersionUID = 1L;

    /**
     * 订单费用ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 订单ID
     */
    @TableField("order_id")
    private Integer orderId;
    /**
     * 企业ID
     */
    @TableField("dot_id")
    private Integer dotId;
    /**
     * 部门ID
     */
    @TableField("detp_id")
    private Integer detpId;
    /**
     * 对应的费用ID
     */
    @TableField("fee_id")
    private Integer feeId;
    /**
     * 费用金额
     */
    private Double money;
    /**
     * 收入或者支出 0-收入 1-支出
     */
    @TableField("fee_Income")
    private Integer feeIncome;
    /**
     * 付款方式 0-现金  1-支付宝 2-微信 3-银行转账 4-其他
     */
    @TableField("pay_mode")
    private Integer payMode;
    /**
     * 0 未结算 1 已结算 2 坏账 3 清账
     */
    @TableField("audit_status")
    private Integer auditStatus;
    /**
     * 是否原始导入 0 是 1否
     */
    @TableField("is_original")
    private Integer isOriginal;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 创建该费用名称的用户ID
     */
    @TableField("create_user_id")
    private Integer createUserId;
    /**
     * 0 正常 1 坏账
     */
    @TableField("is_bad_debt")
    private String isBadDebt;
    /**
     * 结算方式 0 当场结算 1 月结
     */
    @TableField("settlement_type")
    private String settlementType;
    /**
     * 申请人
     */
    private String applicant;
    @TableField("log_no")
    private String logNo;
    private String remark;
    /**
     * 操作人
     */
    @TableField("op_user_id")
    private Integer opUserId;
    /**
     * 0 临时 1 正式
     */
    private Integer status;
    @TableField("order_fee_id")
    private Integer orderFeeId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getDotId() {
        return dotId;
    }

    public void setDotId(Integer dotId) {
        this.dotId = dotId;
    }

    public Integer getDetpId() {
        return detpId;
    }

    public void setDetpId(Integer detpId) {
        this.detpId = detpId;
    }

    public Integer getFeeId() {
        return feeId;
    }

    public void setFeeId(Integer feeId) {
        this.feeId = feeId;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getFeeIncome() {
        return feeIncome;
    }

    public void setFeeIncome(Integer feeIncome) {
        this.feeIncome = feeIncome;
    }

    public Integer getPayMode() {
        return payMode;
    }

    public void setPayMode(Integer payMode) {
        this.payMode = payMode;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Integer getIsOriginal() {
        return isOriginal;
    }

    public void setIsOriginal(Integer isOriginal) {
        this.isOriginal = isOriginal;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getIsBadDebt() {
        return isBadDebt;
    }

    public void setIsBadDebt(String isBadDebt) {
        this.isBadDebt = isBadDebt;
    }

    public String getSettlementType() {
        return settlementType;
    }

    public void setSettlementType(String settlementType) {
        this.settlementType = settlementType;
    }

    public String getApplicant() {
        return applicant;
    }

    public void setApplicant(String applicant) {
        this.applicant = applicant;
    }

    public String getLogNo() {
        return logNo;
    }

    public void setLogNo(String logNo) {
        this.logNo = logNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getOpUserId() {
        return opUserId;
    }

    public void setOpUserId(Integer opUserId) {
        this.opUserId = opUserId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOrderFeeId() {
        return orderFeeId;
    }

    public void setOrderFeeId(Integer orderFeeId) {
        this.orderFeeId = orderFeeId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TOrderFeeLog{" +
        "id=" + id +
        ", orderId=" + orderId +
        ", dotId=" + dotId +
        ", detpId=" + detpId +
        ", feeId=" + feeId +
        ", money=" + money +
        ", feeIncome=" + feeIncome +
        ", payMode=" + payMode +
        ", auditStatus=" + auditStatus +
        ", isOriginal=" + isOriginal +
        ", createTime=" + createTime +
        ", createUserId=" + createUserId +
        ", isBadDebt=" + isBadDebt +
        ", settlementType=" + settlementType +
        ", applicant=" + applicant +
        ", logNo=" + logNo +
        ", remark=" + remark +
        ", opUserId=" + opUserId +
        ", status=" + status +
        ", orderFeeId=" + orderFeeId +
        "}";
    }
}
